package router

import (
	"customer/handler"
	"github.com/gin-gonic/gin"
)

func Router(r *gin.Engine) {
	api := r.Group("/api")
	{
		exam := api.Group("/exams")
		{
			exam.POST("/add", handler.ProseAdd)
			exam.POST("/list", handler.ProseList)
			exam.POST("/info", handler.ProseInfo)
			exam.POST("/remove", handler.ProseRemove)
		}

	}
}
